<div>
	<foreach name="navigation" item="vo" key="k">
		<div style="border-bottom:1px solid #000;text-align:center;padding:5px">
			<a href="javascript:" data-url="<{$url}><{$vo}>" onclick="click_a(this)"><{$k}></a>
		</div>
	</foreach>
</div>
<script>
	var click_a = function (obj){
		var url   = $(obj).attr('data-url'); //快速选择链接
		var title = $(obj).text();           //快速选择标题
		$('input[name="title"]',window.parent.document).val(title);
		$('input[name="url"]',window.parent.document).val(url);
		layer.closeAll();
	}
	
</script>